public PickupPanelHandler(Handle:menu, MenuAction:action, Client, select)
{
	if (action == MenuAction_Select)
	{
		new Float:fPlayerPos[3];
		GetClientEyePosition( Client, fPlayerPos );
		if(select == 1)
		{
			EmitAmbientSound( "buttons/blip2.wav", fPlayerPos, Client );
			PX_SetAbility(Client, ClientTempAbility[Client]);
		}
		else if(select == 2)
		{
			EmitAmbientSound( "buttons/button11.wav", fPlayerPos, Client );
		}
		CanPickup[Client] = true;
		ClientTempAbility[Client] = 0;
	} 
}

public OpenPickupPanel(Client, Ability)
{
	ClientTempAbility[Client] = Ability;

	decl String:name[32];
	decl String:desc[128];
	decl String:usage[128];
	decl String:level[32];

	PX_GetAbilityName(Ability,name);
	PX_GetAbilityDescription(Ability,desc);
	PX_GetAbilityUsage(Ability,usage);
	new Level = ClientMenuLevel[Client];
	new MaxLevel = PX_GetAbilityMaxLevel(Ability);
	Format(level,sizeof(level),"Level: %i/%i", Level, MaxLevel);
	
	new Handle:panel = CreatePanel();
	SetPanelTitle(panel, name);
	DrawPanelText(panel, "Description:");
	DrawPanelText(panel, desc);
	DrawPanelText(panel, "Usage:");
	DrawPanelText(panel, usage);
	DrawPanelText(panel, " ");
	DrawPanelText(panel, level);
	DrawPanelText(panel, " ");
	DrawPanelItem(panel, "Accept");
	DrawPanelItem(panel, "Decline");
 
	SendPanelToClient(panel, Client, PickupPanelHandler, 0);
 
	CloseHandle(panel);
}

public NULLHandler(Handle:menu, MenuAction:action, Client, select) {}
public Action:Command_Info(Client, args)
{
	new Handle:panel = CreatePanel();
	SetPanelTitle(panel, "Powerups XL Info");
	DrawPanelText(panel, "How To Play:");
	DrawPanelText(panel, "1) Make Kills.");
	DrawPanelText(panel, "2) Pick up Present and Accept Powerup.");
	DrawPanelText(panel, "3) Level it up.");
	DrawPanelText(panel, "4) Dominate!");
	DrawPanelText(panel, "Hope You Like The Mod!");
	DrawPanelText(panel, "Coded By Skydive.");
	
	SendPanelToClient(panel, Client, NULLHandler, 0);
 
	CloseHandle(panel);
	return Plugin_Handled;
}